﻿
using System.Windows;

namespace Holdem.Core.Controls
{
    public partial class SplashPopup
    {
        public static readonly DependencyProperty RefreshRatioProperty =
            DependencyProperty.RegisterAttached(
                "RefreshRatio",
                typeof(double),
                typeof(SplashPopup),
                new PropertyMetadata(null));

        public double RefreshRatio
        {
            get
            {
                return CirProgressBar.RefreshRatio;
            }
            set
            {
                CirProgressBar.RefreshRatio = value;
            }
        }

        public SplashPopup()
        {
            this.InitializeComponent();

            CirProgressBar.DataContext = this;
        }
    }
}